﻿import idv.ben.picasawebservice4flash.data.*;
import idv.ben.picasawebservice4flash.service.*;

class idv.ben.picasawebservice4flash.data.PhotoEntryExif{

	private var __fstop:String;
	private var __make:String;
	private var __model:String;
	private var __exposure:String;
	private var __flash:String;
	private var __focallength:String;
	private var __time:String;
	private var __imageUniqueID:String;
	
	/**
	* 建構子
	*/
	function PhotoEntryExif(){
	}

	/**
	* 設定資料
	* @param paramName 由 http://picasaweb.google.com/data/feed/api/user/<i>userID</i>/albumid/<i>albumID</i>?kind=<i>kinds</i> 取回的 xml 中，&lt;feed&gt; 節點下的 &lt;entry&gt; 節點下的 &lt;exif:{param name}&gt; 節點的 {param name}。
	* @param paramValue 值
	*/
	public function applyParam(paramName:String, paramValue:String):Void{
		//trace("paramName=" + paramName + ", paramValue=" + paramValue);
		switch(paramName.toLowerCase()){
			case "fstop".toLowerCase():
			case "make".toLowerCase():
			case "model".toLowerCase():
			case "exposure".toLowerCase():
			case "flash".toLowerCase():
			case "focallength".toLowerCase():
			case "time".toLowerCase():
			case "imageUniqueID".toLowerCase():
				this["__" + paramName] = paramValue;
		}
	}
	
	public function get fstop():String{return __fstop;}
	public function get make():String{return __make;}
	public function get model():String{return __model;}
	public function get exposure():String{return __exposure;}
	public function get flash():String{return __flash;}
	public function get focallength():String{return __focallength;}
	public function get time():String{return __time;}
	public function get imageUniqueID():String{return __imageUniqueID;}
}